:host {
  display: flex;
  height: 100%;
  flex-direction: column;

  [nz-row] {
    margin-bottom: 12px;
  }
  .main-row {
    flex: 1;
    height: 0;
    padding-bottom: 12px;
    nz-card {
      overflow: hidden;
      height: 100%;
      width: 100%;
      &.type-card {
        margin-right: 12px;
      }
    }
  }

  .permission-title {
    label {
      font-size: 1.2em;
      margin-top: 5px;
    }
  }

  nz-divider {
    margin-top: 0;
  }

  [nz-button] {
    margin-right: 8px;
  }

  ::ng-deep {
    .ant-tree-node-selected {
      background-color: #fff;
    }

    nz-tabs-nav {
      width: 200px;
    }

    .ant-tree-treenode {
      padding: 0;
    }

    .ant-drawer-body {
      height: 100%;
    }

    .ant-card-body {
      height: 100%;
      nz-tabset {        
        height: 100%;
        .ant-tabs-content-holder {
          overflow: auto;
        }
      }
    }
  }
}
